home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / HippoDraw / hippo / hippoutil.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-28  |  882 b   |  32 lines

  1. #ifndef _H_UTILITIES_H_
  2. #define _H_UTILITIES_H_
  3.  
  4. /*
  5.  * Functions to maintain and use the function registry.
  6.  */
  7. void *h_fNameSrch(const char *fname);
  8. char *h_fPtrSrch(void *func);
  9.  
  10. /*
  11.  * Set nice axis limits.
  12.  */
  13. void h_adjustAxis( float *low, float *high, int n_divisions, int log );
  14.  
  15. /*
  16.  * error message functions
  17.  */
  18. void h_errmsg(const char *file, int line, const char *string );
  19. #define h_error(x) h_errmsg(__FILE__,__LINE__,x)
  20.  
  21. int doCuts( float nt[], func_id cutlist );
  22. int h_cut_lt( float nt[], double param[] );
  23. int h_cut_gt( float nt[], double param[] );
  24. int h_cut_le( float nt[], double param[] );
  25. int h_cut_ge( float nt[], double param[] );
  26. int h_cut_inside( float nt[], double param[] );
  27. int h_cut_outside( float nt[], double param[] );
  28. int h_cut_in_incl( float nt[], double param[] );
  29. int h_cut_out_incl( float nt[], double param[] );
  30.  
  31. #endif                /* _H_UTILITIES_H_ */
  32.